﻿/*///////////////////////////////////////////////////////////
EventManager.as
Ben Smith
2009
///////////////////////////////////////////////////////////*/

package com.bsmith.common 
{
	import flash.events.EventDispatcher;
	
	/*===========================================================
	EventManager
	Singleton event dispatcher
	===========================================================*/
	public class EventManager extends EventDispatcher
	{
		static private var _instance:EventManager = null;
		
		/*-----------------------------------------------------------
		EventManager - ctor
		-----------------------------------------------------------*/
		public function EventManager(lock:EventManagerLock) 
		{
			
		}
		
		static public function get instance():EventManager { if (!_instance) _instance = new EventManager(new EventManagerLock); return _instance; }
	}
}

class EventManagerLock{}